const { existsSync } = require('fs')
const pathURL = require('./path')

// 判断是否存在目标文件夹
const isDirExisted = name => existsSync(pathURL(name));

module.exports = isDirExisted